package com.two.screen.water.balance.bean.water

class PayTypeBean {
    companion object {
        val PAY_TYPE_REMAIN = 1//余额
        val PAY_TYPE_OWE = 2//赊账
        val PAY_TYPE_JUHE = 3//聚合
        val PAY_TYPE_SCAN = 4//扫码

        val PAY_TYPE_SUCCESS = 200 //收款成功!

        fun getPayTypeName(type: Int?): String {
            return when (type) {
                PAY_TYPE_REMAIN -> "余额支付"
                PAY_TYPE_OWE -> "赊账支付"
                PAY_TYPE_JUHE -> "聚合支付"
                PAY_TYPE_SCAN -> "扫码支付"
                else -> "未知"
            }
        }
    }

    var name: String? = null
    var type = 0
    var isLocalSelected = false
}
